<?php
require_once ('Zend/Application/Bootstrap/Bootstrap.php');
class AppBootstrap extends Zend_Application_Bootstrap_Bootstrap {

	protected function _initViewHelperHeadTitle() {
		if (!$this->hasResource('view')) $this->bootstrap('view');
		
		$this->getResource('view')->headTitle()->setSeparator(' - ');
		$this->getResource('view')->headTitle()->prepend(SiteConfig::SITE_NAME);
	}
	
	protected function _initRoute() {
		if (!$this->hasResource('router')) $this->bootstrap('router');
		require_once APPLICATION_PATH . '/configs/route.php';
	}
	
	/*protected function _initLayoutDisable() {
		if (!$this->hasResource('layout')) $this->bootstrap('layout');
		$this->getResource('layout')->disableLayout();
	}*/
}


